<?php


namespace core;


class Model
{
    protected $myPDO;

    public function __construct()
    {
        $this->initMyPDO();
    }

    private function initMyPDO()
    {
        $this->myPDO = MyPDO::getInstance($GLOBALS['config']['database']);
    }
}